home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
misc
/
MAC
/
getline2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-26
|
872b
|
36 lines
#ifndef GETLINE_H
#define GETLINE_H
/* unix systems can #define POSIX to use termios, otherwise
* the bsd or sysv interface will be used
*/
#if __STDC__ > 0
#include <stddef.h>
typedef size_t (*gl_strwidth_proc)(char *);
char *getline(char *); /* read a line of input */
void gl_setwidth(int); /* specify width of screen */
void gl_histadd(char *); /* adds entries to hist */
void gl_strwidth(gl_strwidth_proc); /* to bind gl_strlen */
extern int (*gl_in_hook)(char *);
extern int (*gl_out_hook)(char *);
extern int (*gl_tab_hook)(char *, int, int *);
#else /* not __STDC__ */
char *getline();
void gl_setwidth();
void gl_histadd();
void gl_strwidth();
extern int (*gl_in_hook)();
extern int (*gl_out_hook)();
extern int (*gl_tab_hook)();
#endif /* __STDC__ */
#endif /* GETLINE_H */